﻿using DomenModel;
using System;
using System.Collections.Generic;


namespace Model.Repositories.Interfaces
{
    public interface IOrderDetailsCrud : ICrud<OrderDetails>
    {
        List<OrderDetails> GetCollection(string userName);
        List<OrderDetails> GetCollection(int orderId);

        long GetCount(int orderId);
        List<OrderDetails> GetListForPagination(int page, int itemsOnPage, bool descending, int orderId);
    }
}
